package com.lkm.market2_0.m_imple.steelyarddata;

import com.lkm.frame.module.ConditionConfige;
import com.lkm.frame.module.ModuleDelegate;
import com.lkm.frame.module.ModuleManager;
import com.lkm.market2_0.m.steelyarddata.SteelyardDataModule;




public class SteelyardDataModuleDelegate implements ModuleDelegate<SteelyardDataModule,Void> {
    ModuleManager mModuleManager;
    @Override
    public void init(ModuleManager moduleManager) {
        this.mModuleManager=moduleManager;
    }

    @Override
    public void dependency(DependencyConfig dc) {

//        dc.addDependency(SteelyardStatusManagerModule.class);
    }

    @Override
    public void configure(ConditionConfige<Void> cc) {

    }

    @Override
    public SteelyardDataModule execute(Void aVoid) {
//        SteelyardStatusManagerModule mSteelyardStatusModule=mModuleManager.loadModule(SteelyardStatusManagerModule.class);
        return new SteelyardDataModuleImple(mModuleManager);
    }

    @Override
    public Class<SteelyardDataModule> getModuleInterfaceClass() {
        return SteelyardDataModule.class;
    }

    @Override
    public void onError(ErrorWarp e) {

    }
}
